<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>{{$headConf['title']}}</title>
    <?php foreach($headConf['css'] as $v){ ?>
    <link rel="stylesheet" type="text/css" href="{{__TEMPLATE__}}/css/{{$v}}.css"/>
    <?php } ?>
    <script src="{{__TEMPLATE__}}/js/jquery-1.11.3.min.js" type="text/javascript" charset="utf-8"></script>
    <script src="{{__TEMPLATE__}}/js/index.js" type="text/javascript" charset="utf-8"></script>
</head>
<body>
<!--头部-->
<div id="head">
    <img src="{{__TEMPLATE__}}/images/logo.jpg" class="logo" />
    <ul class="ad">
        <li>技术文章总结与整理</li>
        <li style="color: #ee782f;">包含php，mysql，nginx等</li>
    </ul>
    <div class="right">
        <span>联系邮箱</span>
        <p>15010579586@163.com</p>
    </div>

    <div style="width: 60px;height:20px;background-color: lightblue">
        <a href="{{__TEMPLATE__}}/desc.html" style="width: 50px;height: 50px">本站介绍</a>
    </div>
</div>
<!--头部结束-->
<!--导航条-->
<div id="menu">
    <div class="center">
        <a href="{{__ROOT__}}" <?php if(!Request::get()){ ?>class="cur"<?php } ?>>首页</a>
        <category pid="0">
            <a <?php if($field['cate_id']==Request::get('cate_id')){ ?>class="cur"<?php } ?> href="{{$field['url']}}">{{$field['cate_name']}}</a>
        </category>
    </div>
</div>
<!--导航条结束-->

<!--搜索区域-->
<div id="search">
    <span>热门关键词：</span>
    <tag action="search.keyword">
        <a href="{{$field['url']}}">{{$field['keyword']}}</a>
    </tag>

    <form action="/search" method="get">
        <input type="text" placeholder="请输入搜索关键词" name="keyword" class="keyword"/>
        <input type="submit" value="" class="sub" />
    </form>
</div>
<!--搜索区域结束-->

<blade name="content"/>

<!--底部-->
<div id="footer">
    <p>
        网站名称 : {{v('config.webname')}}
        备案号：<a href="">{{v('config.icp')}}</a>
        站长邮箱 : {{v('config.email')}}
        <script src="https://s22.cnzz.com/z_stat.php?id=1262386028&web_id=1262386028" language="JavaScript"></script>
    </p>
    <p></p>
</div>
<!--底部结束-->
</body>
</html>
